package com.xiangming.demo.entity;

/**
 * @author wxm
 * @data 2021/11/13
 *
 */
public class FileData {
    /**
     *     文件原始名字
     */
    private String name;
    /**
     * 文件扩展名
     */
    private String ext;
    /**
     * 文件大小
     */
    private long size;
    /**
     * 创建时间
     */
    private String time;
    /**
     * 文件保存目录
     */
    private String path;
    /**
     * uuid
     */
    private String uuid;

    public FileData() {

    }

    public FileData(String name, String ext, long size, String time, String path, String uuid) {
        this.name = name;
        this.ext = ext;
        this.size = size;
        this.time = time;
        this.path = path;
        this.uuid = uuid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getExt() {
        return ext;
    }

    public void setExt(String ext) {
        this.ext = ext;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getUuid() {
        return uuid;
    }

    @Override
    public String toString() {
        return "FastDFSFile{" +
                "name='" + name + '\'' +
                ", ext='" + ext + '\'' +
                ", size=" + size +
                ", time='" + time + '\'' +
                ", path='" + path + '\'' +
                ", uuid='" + uuid + '\'' +
                '}';
    }
}
